package com.autumn.server;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;

import com.autumn.web.AbstractAutumnApplication;

/**
 * 静态服务器
 * 
 * @author 老码农
 *
 *         2017-12-21 11:06:53
 */
@ComponentScan({ "com.autumn.server" })
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class,
		DataSourceTransactionManagerAutoConfiguration.class })
@EnableEurekaClient
public class StaticServerApplication extends AbstractAutumnApplication {

	public static void main(String[] args) {
		run(StaticServerApplication.class, args);
	}

	@Override
	public boolean isRelease() {
		return true;
	}

}
